<?php

declare(strict_types=1);

/**
 * @Author:     Frank
 * @contact     frank_hhm@163.com
 * @Date:       2023-02-21 16:13:58
 * @Last Modified time: 2023-02-21 16:16:35
 */
namespace app\common\enum\pay;
use frank\base\BaseEnum;

/**
 * 退款单来源枚举类
 * Class RefundSourceEnum
 * @package app\common\enum\pay
 */
class RefundSourceEnum extends BaseEnum
{
    // 普通订单
    const MASTER = 'master';

    // 普通订单售后
    const MASTERREFUND = 'master_refund';

    /**
     * 获取枚举数据
     * @return array
     */
    public static function data()
    {
        return [
            self::MASTER => [
                'name' => '普通订单',
                'value' => self::MASTER,
            ],
            self::MASTERREFUND => [
                'name' => '普通订单售后',
                'value' => self::MASTERREFUND,
            ],
        ];
    }
}
